package day04.actorPlus

/**
  * Created by root on 2018/11/26.
  */
//Worker 发送给master的注册消息
case class RegisterWorker(workerId:String,memory:Int,cores:Int) extends Serializable

//作为返回的信号
case object RegisteredWorker extends Serializable
case object SendHeartBeat extends Serializable
case class HeartBeat(workerId:String) extends Serializable
case object CheckTimeOutWorker extends Serializable